package com.samuel.basics.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 异常信息日志表
 * </p>
 *
 * @author 黄阿能
 * @since 2020-01-20
 */
@TableName("t_exception_log")
public class ExceptionLogEntity extends BaseEntity {

    private static final long serialVersionUID = -3840578749741524735L;
    /**
     * 请求参数
     */
    @TableField("request_params")
    private String requestParams;

    /**
     * 返回参数
     */
    @TableField("response_params")
    private String responseParams;

    /**
     * 异常名称
     */
    @TableField("exception_name")
    private String exceptionName;

    /**
     * 异常信息
     */
    @TableField("message")
    private String message;

    /**
     * 操作员ID
     */
    @TableField("user_id")
    private String userId;

    /**
     * 操作员名称
     */
    @TableField("user_name")
    private String userName;

    /**
     * 访问方法
     */
    @TableField("method")
    private String method;

    /**
     * 请求地址
     */
    @TableField("url")
    private String url;

    /**
     * 访问IP
     */
    @TableField("ip")
    private String ip;

    public String getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(String requestParams) {
        this.requestParams = requestParams;
    }

    public String getResponseParams() {
        return responseParams;
    }

    public void setResponseParams(String responseParams) {
        this.responseParams = responseParams;
    }

    public String getExceptionName() {
        return exceptionName;
    }

    public void setExceptionName(String exceptionName) {
        this.exceptionName = exceptionName;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

}
